GEMDOS Calls unique to the TT

#include osbind.h>

long Maddalt(long start, long size); Extend the memory, which is managed by Mxalloc() and Pexec() with size bytes starting at address start.

void &sstarf#star;Mxalloc(long amount, short flag); Allocate amount bytes of memory from the OS pool. -1 for amount returns the max. size for an allocatable segment. flag defines were the memory is allocated.

ValueMeaning


0alloc mem only in ST ram 1alloc mem only in TT ram 2alloc mem in ST ram, if possible 3alloc mem in TT ram, if possible